﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>微信支付</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="__STATIC__/css/base.css">
<link rel="stylesheet" href="__STATIC__/css/qb_ui.css">
<link rel="stylesheet" href="__STATIC__/icon/icon.css">
<script type="text/javascript" src="__STATIC__/js/core/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/layer/layer.js"></script>
</head>
<body>
 
<link rel="stylesheet" href="__STATIC__/bbs/post.css">
<div class="bbsContainer">

	<ul class="topBoxs">
		<li class="logo"><a href="/"><img src="__STATIC__/bbs/logo1.png"></a></li>
		<li class="info"><span>{:M('name')}</span><em>{$userdb.username}</em></li>
		<li class="atten"><a href="{:get_url('member')}"><i class="si si-user"></i></a></li>
	</ul>
	<div class="quideBox" style="text-align:center;">请用微信扫码支付</div>

	 
	<div class="PostBox" style="text-align:center;">		 
		<img src="{$qrcode}"/>
	</div>
	 
</div>
<script type="text/javascript">
function countSecond(){　
	$.get("{:urls('/index/pay/index')}?banktype=weixin&action=checkpay&numcode={$numcode}&"+Math.random(), function(result){
		if(result.code==0){
			window.location.href="{$return_url}";
		}else{
			setTimeout("countSecond()",3000);
		}
	});	
}
countSecond()
</script>
</body>
</html>